package top.ochiamalu.aioj.enums;


import lombok.Getter;

/**
 * 用户enum
 *
 * @author OchiaMalu
 * @date 2024/12/09
 */
@Getter
public enum UserEnum {
    USER(1, "普通用户"),
    ADMIN(2, "管理员"),
    BAN(3, "封禁用户");

    private final Integer code;
    private final String desc;

    UserEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
